Optimal. Leaf size=59 \[ \frac {2^{\frac {1}{2}+2 n} \cos (c+d x) \, _2F_1\left (\frac {1}{2},\frac {1}{2}-n;\frac {3}{2};\frac {1}{2} (1+\sin (c+d x))\right )}{d \sqrt {1-\sin (c+d x)}} \]
[Out]
________________________________________________________________________________________
Rubi [A]
time = 0.01, antiderivative size = 59, normalized size of antiderivative = 1.00, number of steps
used = 1, number of rules used = 1, integrand size = 12, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.083, Rules used = {2730}
\begin {gather*} \frac {2^{2 n+\frac {1}{2}} \cos (c+d x) \, _2F_1\left (\frac {1}{2},\frac {1}{2}-n;\frac {3}{2};\frac {1}{2} (\sin (c+d x)+1)\right )}{d \sqrt {1-\sin (c+d x)}} \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
Rule 2730
Rubi steps
\begin {align*} \int (2-2 \sin (c+d x))^n \, dx &=\frac {2^{\frac {1}{2}+2 n} \cos (c+d x) \, _2F_1\left (\frac {1}{2},\frac {1}{2}-n;\frac {3}{2};\frac {1}{2} (1+\sin (c+d x))\right )}{d \sqrt {1-\sin (c+d x)}}\\ \end {align*}
________________________________________________________________________________________
Mathematica [A]
time = 0.07, size = 90, normalized size = 1.53 \begin {gather*} \frac {\cos (c+d x) \cos ^2\left (\frac {1}{4} (2 c+\pi +2 d x)\right )^{-\frac {1}{2}-n} \, _2F_1\left (\frac {1}{2},\frac {1}{2}-n;\frac {3}{2};\frac {1}{4} \cos ^2(c+d x) \csc ^2\left (\frac {1}{4} (2 c-\pi +2 d x)\right )\right ) (2-2 \sin (c+d x))^n}{d} \end {gather*}
Warning: Unable to verify antiderivative.
[In]
[Out]
________________________________________________________________________________________
Maple [F]
time = 0.03, size = 0, normalized size = 0.00 \[\int \left (2-2 \sin \left (d x +c \right )\right )^{n}\, dx\]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Maxima [F]
time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \text {Failed to integrate} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Fricas [F]
time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \text {could not integrate} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Sympy [F]
time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \int \left (2 - 2 \sin {\left (c + d x \right )}\right )^{n}\, dx \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Giac [F]
time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \text {could not integrate} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Mupad [F]
time = 0.00, size = -1, normalized size = -0.02 \begin {gather*} \int {\left (2-2\,\sin \left (c+d\,x\right )\right )}^n \,d x \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________